IdeaBlade DevForce 2010 Help Reference
EntityKey Constructor(Type,Object[],Boolean)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityKey Class > EntityKey Constructor : EntityKey Constructor(Type,Object[],Boolean)



entityType
The Entity type
values
The values of the primary key properties
convertValues
Initializes a new instance of the EntityKey class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal entityType As Type, _
   ByVal values() As Object, _
   ByVal convertValues As Boolean _
)
Visual Basic (Usage)Copy Code
Dim entityType As Type
Dim values() As Object
Dim convertValues As Boolean
 
Dim instance As New EntityKey(entityType, values, convertValues)
C# 
public EntityKey( 
   Type entityType,
   object[] values,
   bool convertValues
)
C++/CLI 
public:
EntityKey( 
   Type^ entityType,
   array<Object^>^ values,
   bool convertValues
)

Parameters

entityType
The Entity type
values
The values of the primary key properties
convertValues

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.